html {
    font-size: 62.5%;
    height:100%
}

body {
    font-size: 1.2rem;
    height:100%
}
.hidden{
    display : none;
}
.button {
    text-align: center;
    display: inline-block;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    height: 30px;
    line-height: 28px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-decoration: none;
    background-color: #0099e5;
    border: 1px solid #08c;
    text-shadow: 0 1px 0 #08c;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset;
    -webkit-transition: background-color .1s ease-in-out;
    -moz-transition: background-color .1s ease-in-out;
    transition: background-color .1s ease-in-out
}

.button.medium {
    min-width: 45%;
    min-width: calc(100% / 2 - 10px);
    height: 3.5rem;
    line-height: 3.2rem;
    font-size: 1.4rem;
}

.button.submit {
    background-color: #0099E5;
    border-color: #08C;
    text-shadow: 0 1px 0 #08C
}

.button.submit:hover {
    background-color: #02adea
}

.button.submit:hover:active {
    background-color: #02adea;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .15) inset
}

.button.save {
    background-color: #34bf49;
    border: 1px solid #2fab41;
    text-shadow: 0 1px 0 #2fab41
}

.button.save:hover {
    background-color: #41cb56
}

.button.save:hover:active {
    border: 1px solid #2fab41;
    -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15)
}

.button.secondary{
    color : #b2b5b6;
    background:#FFF;
    font-weight:bold;
    text-shadow: 0 0px 0 #b2b5b6;
    border:1px solid #e1e1e1;
    -webkit-box-shadow:inset 0px 1px 1px rgba(255,255,255,0.2);
    box-shadow:inset 0px 1px 1px rgba(255,255,255,0.2)
}

.button.secondary:hover{
    border-color:#b2b5b6;
    background:#7d8387
}

.button.secondary:active{
    -webkit-box-shadow:inset 0px 1px 3px rgba(0,0,0,0.15);
    box-shadow:inset 0px 1px 3px rgba(0,0,0,0.15)
}
.button.b_left{
    /*border-right:0;*/
    width:50%;
    height:3.5rem;
    line-height: 3.5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.button.b_left:hover{
    border-right:0;
}
.button.b_center{
    border-left: 0;
    width:50%;
    height:3.5rem;
    line-height: 3.5rem;
    border-radius: 0;
}
.button.b_right{
    border-left: 0;
    width:50%;
    height:3.5rem;
    line-height: 3.5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.button_group{
    padding:0 10px;
}
.button_group.w_20 .button{
    width:20%;
}
.button_group.w_16 .button{
    width:16.6%;
}

.upload_main {
    padding: 10px;
    height: 800px;
    height:calc(100% - 50px);
}

.upload_main .center_body .top,.upload_main .left_body .top{
    font-size: 1.4rem;
    width: 100%;
    color: #0099e5;
    height: 6rem;
    line-height: 6rem;
    border-bottom: 1px solid #e1e1e1;
    position: absolute;
}

.upload_main .center_body .top ul {
    height: 100%;
    padding-left: 1.7rem;
}

.upload_main .center_body .top ul li {
    float: left;
}

.upload_main .center_body .add_pic {
    top: 0px;
    position: absolute;
    height: 6rem;
    line-height: 6rem;
    cursor: pointer;
    margin-left:1.7rem;
    padding-left: 2rem;
}

.upload_main .center_body .add_pic span {
    left: 0;
    top: -2px;
    position: absolute;
    font-size: 30px;
    font-weight: bold;
}

.upload_main .center_body .top ul.ul_in {
    padding-right: 2rem;
}

.upload_main .center_body .top ul.ul_in li.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.upload_main .center_body .top ul.ul_in li {
    cursor: pointer;
    width: 6rem;
    text-align: center;
}
.upload_main .left_body {
    padding-right:10px;
    position: relative;
    height: 100%;
    float: left;
    width: 200px;
}
.upload_main .left_body .main{
    height: 100%;
    width: 100%;
    position: relative;
    border: 1px solid #e1e1e1;
}
.upload_main .center_body {
    position: relative;
    height: 100%;
    border: 1px solid #e1e1e1;
    float: left;
    width : 78%;
    width: calc(100% - 390px);
}

.upload_main .right_body {
    position: relative;
    height: 100%;
    float: right;
    width: 390px;
}

.upload_main .right_body .main {
    width: 380px;
    margin-left: 10px;
    height: 100%;
    border: 1px solid #e1e1e1;
}

.upload_main .right_body .top {
    position: absolute;
    top: 10px;
    width: 380px;
}
.upload_main .right_body .top.disabled{
    opacity: 0.3;
    pointer-events: none;
}
.upload_main .right_body .main .top .button {
    margin: 5px;
}

.upload_main .right_body .photo_details {
    height: 100%;
    padding-top: 70px;
}
.upload_main .right_body.disabled .photo_details{
    opacity: 0.3;
    pointer-events: none;
}

.list.photo_details_panel li {
    margin-bottom: 20px;
    /*padding: 0 20px;*/
}

input {
    font-size: 14px;
    padding: 8px 10px;
    color: #525558;
    border: 0;
    border-top: 1px solid rgba(185, 193, 199, 0.5);
    border-bottom: 1px solid rgba(185, 193, 199, 0.5);
    /*-webkit-border-radius: 3px;
    border-radius: 3px;*/
    -webkit-transition: border-color 0.2s;
    -moz-transition: border-color 0.2s;
    transition: border-color 0.2s;
    resize: none;
    height: 3.5rem;
    line-height: 1.4em
}

input:-moz-placeholder {
    color: #b9c1c7
}

input::-moz-placeholder {
    color: #b9c1c7
}

input:-ms-input-placeholder {
    color: #b9c1c7
}

input::-webkit-input-placeholder {
    color: #b9c1c7
}

input:focus {
    border-color: #0099e5
}

.list.photo_details_panel h4 {
    display: inline-block;
    color: #c0c6d0;
    font-size: 1.4rem;
    font-weight: normal;
    margin-bottom: 10px;
    margin-left: 10px;
    cursor: default;
}

.list.photo_details_panel input {
    width: 100%;
}
.select_wrap{
    height : 3.5rem;
    position: relative;
}
.select_wrap select {
    color: #525558;
    border : 0;
    border-top: 1px solid rgba(185,193,199,0.5);
    border-bottom:1px solid rgba(185,193,199,0.5);
    /*-webkit-border-radius: 3px;*/
    /*border-radius: 3px;*/
    background-color: #fff;
    width: 100%;
    padding: 6px 30px 6px 10px;
    resize: none;
    -webkit-transition: border-color 0.1s;
    -moz-transition: border-color 0.1s;
    transition: border-color 0.1s;
    height: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}
.select_wrap select:focus,.select_wrap .ui-selectmenu-text:focus {
    border-color: #0099e5
}

.select_wrap select:focus+.arrows,.select_wrap .ui-selectmenu-text:focus+.arrows {
    border-color: #0099e5
}

.select_wrap select::-ms-expand,.select_wrap .ui-selectmenu-text::-ms-expand {
    display: none
}
.select_wrap .arrows {
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 30px;
    border: 1px solid rgba(185,193,199,0.5);
    border-left: none;
    border-right: none;
    /*-webkit-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;*/
    background-image: url();
    background-repeat: no-repeat;
    background-size: 7px 12px;
    background-position: center center;
    background-color: #fff;
    -webkit-transition: border-color 0.1s;
    -moz-transition: border-color 0.1s;
    transition: border-color 0.1s;
    pointer-events: none
}
.filepicker_wrap{
    padding: 5px;
}
.filepicker_wrap .filepicker_label {
    width:49%;
    display: inline-block;
    cursor: pointer;
    padding: 8px 10px 8px 25px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2em;
    color: #525558;
    border: 1px solid rgba(185,193,199,0.5);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #fff;
    background-image: url(//assetcdn.500px.org/assets/styleguide/forms/plus@2x-68a76077f9f101b97770a2cfccd6ee9a.png);
    background-size: 9px;
    background-position: 10px center;
    background-repeat: no-repeat
}


ul.releases>li{
    opacity: 0.5;
    position: relative;
    padding: 5px 0 5px 32px;
    margin: 0;
    background: url(//assetcdn.500px.org/assets/uploader/release_ico-4b20dabdd7505a4cd0d600a84662a7d7.svg) 7px 4px no-repeat;
    background-size: 14px
}
ul.releases>li.same {
    opacity: 1
}

ul.releases>li:first-child {
    margin-top: 5px
}

ul.releases>li .name {
    display: inline-block;
    width: -webkit-calc(100% - 32px - 27px);
    width: -moz-calc(100% - 32px - 27px);
    width: calc(100% - 32px - 27px);
    white-space: nowrap;
    /*overflow: hidden;*/
    text-overflow: ellipsis
}

ul.releases>li a.delete{
    display: inline-block;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 5px
}

ul.releases>li a.delete span{
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    display: block;
    width: 17px;
    height: 17px;
    background: url(//assetcdn.500px.org/assets/groups/add_photo@2x-bd4f8ff5a8b49687ac9da3533afd9f92.png) center no-repeat;
    background-size: cover
}

ul.releases>li .progress{
    display: inline-block;
    cursor: pointer;
    width: 27px;
    height: 27px;
    position: absolute;
    top: 0;
    right: 0
}

ul.releases>li.upload_finished .progress{
    display: none
}
.list.photo_details_panel li.uploaded_file{
    margin-bottom:8px;
}
li.uploaded_file .uploaded_file_progress_bar {
    display: inline-block;
    cursor: pointer;
    width: 27px;
    height: 27px;
    position: absolute;
    top: 0;
    right: 0;
}

.list.photo_details_panel li.cmp_rights.showlist{
    margin-bottom: 0px;
}
@media only screen and (max-width: 679px) {
    html {
        font-size: 73.2% !important; /* 14 * 0.625 / 12 = 109% */
    }
    .upload_main .center_body {
        width:100%;
    }
    .upload_main .right_body{
        width:100%;
    }
    .upload_main .right_body .top{
        width:100%;
    }
    .upload_main .right_body .main{
        border-top:none;
        width:100%;
        height:auto;
        margin-left:0;
    }
}